package com.gxa.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.gxa.common.vo.PatientVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties ({"handler"})
@ApiModel("客服信息的实体")
public class CustomerManagement {

  @ApiModelProperty(name = "id",notes = "主键",dataType = "int",required = true)
  private int id;
  @ApiModelProperty(name = "type",notes = "客服类型",dataType = "byte",required = false)
  private byte type;
  @ApiModelProperty(name = "status",notes = "客服状态",dataType = "byte",required = false)
  private byte status;
  @ApiModelProperty(name = "creator",notes = "创建人",dataType = "String",required = false)
  private String creator;
  @ApiModelProperty(name = "patientName",notes = "客户姓名",dataType = "String",required = false)
  private String patientName;
  @ApiModelProperty(name = "userId",notes = "用户id",dataType = "int",required = false)
  private Integer userId;
  @ApiModelProperty(name = "number",notes = "编号",dataType = "String",required = false)
  private String number;
  @ApiModelProperty(name = "title",notes = "客服标题",dataType = "String",required = false)
  private String title;
  @ApiModelProperty(name = "mode",notes = "客服服务方式",dataType = "byte",required = false)
  private byte mode;
  @ApiModelProperty(name = "source",notes = "客服来源",dataType = "String",required = false)
  private String source;
  @ApiModelProperty(name = "date",notes = "客服日期",dataType = "String",required = false)
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private String date;
  @ApiModelProperty(name = "patientId",notes = "患者编号",dataType = "int",required = false)
  private int patientId;
  @ApiModelProperty(name = "feedback",notes = "客户反馈",dataType = "String",required = false)
  private String feedback;
  @ApiModelProperty(name = "content",notes = "服务内容",dataType = "String",required = false)
  private String content;
  @ApiModelProperty(name = "description",notes = "描述",dataType = "String",required = false)
  private String description;
  @ApiModelProperty(name = "createTime",notes = "创建时间",dataType = "String",required = false)
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private String createTime;
  @ApiModelProperty(name = "updateTime",notes = "修改时间",dataType = "String",required = false)
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private String updateTime;
  @ApiModelProperty(name = "isDelete",notes = "是否删除",dataType = "byte",required = false)
  private byte isDelete;

//  PatientVo sysPatient ;
//  SysUser sysUser;

}
